package pwd.allen.behavior.mediator;

/**
 * @author 门那粒沙
 * @create 2021-05-22 21:20
 **/
public class ConcreteColleague1 extends Colleague {
    @Override
    public void receive() {
        System.out.println("具体同事类1收到请求。");
    }
    @Override
    public void send() {
        System.out.println("具体同事类1发出请求。");
        mediator.relay(this); //请中介者转发
    }
}
